package com.eightbears.beboy.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/10/18.
 */

public class ProfitEntity implements Serializable {

    /**
     * message : success
     * status_code : 200
     * data : {"today_balance":"151.80","remain_balance":"151.80","total_balance":"151.80","logs":{"list":[{"id":40,"from_id":101,"to_id":102,"balance":"9.80","type":1,"created_at":"1507627791","from":{"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}},{"id":39,"from_id":101,"to_id":102,"balance":"12.00","type":2,"created_at":"1507627773","from":{"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}},{"id":38,"from_id":101,"to_id":102,"balance":"12.00","type":2,"created_at":"1507627692","from":{"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}}],"next_page":2,"page_size":3,"is_end":0}}
     */

    private String message;
    private int status_code;
    private DataBean data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus_code() {
        return status_code;
    }

    public void setStatus_code(int status_code) {
        this.status_code = status_code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * today_balance : 151.80
         * remain_balance : 151.80
         * total_balance : 151.80
         * logs : {"list":[{"id":40,"from_id":101,"to_id":102,"balance":"9.80","type":1,"created_at":"1507627791","from":{"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}},{"id":39,"from_id":101,"to_id":102,"balance":"12.00","type":2,"created_at":"1507627773","from":{"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}},{"id":38,"from_id":101,"to_id":102,"balance":"12.00","type":2,"created_at":"1507627692","from":{"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}}],"next_page":2,"page_size":3,"is_end":0}
         */

        private String today_balance;
        private String remain_balance;
        private String total_balance;
        private LogsBean logs;

        public String getToday_balance() {
            return today_balance;
        }

        public void setToday_balance(String today_balance) {
            this.today_balance = today_balance;
        }

        public String getRemain_balance() {
            return remain_balance;
        }

        public void setRemain_balance(String remain_balance) {
            this.remain_balance = remain_balance;
        }

        public String getTotal_balance() {
            return total_balance;
        }

        public void setTotal_balance(String total_balance) {
            this.total_balance = total_balance;
        }

        public LogsBean getLogs() {
            return logs;
        }

        public void setLogs(LogsBean logs) {
            this.logs = logs;
        }

        public static class LogsBean implements Serializable{
            /**
             * list : [{"id":40,"from_id":101,"to_id":102,"balance":"9.80","type":1,"created_at":"1507627791","from":{"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}},{"id":39,"from_id":101,"to_id":102,"balance":"12.00","type":2,"created_at":"1507627773","from":{"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}},{"id":38,"from_id":101,"to_id":102,"balance":"12.00","type":2,"created_at":"1507627692","from":{"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}}]
             * next_page : 2
             * page_size : 3
             * is_end : 0
             */

            private int next_page;
            private int page_size;
            private int is_end;
            private List<ListBean> list;

            public int getNext_page() {
                return next_page;
            }

            public void setNext_page(int next_page) {
                this.next_page = next_page;
            }

            public int getPage_size() {
                return page_size;
            }

            public void setPage_size(int page_size) {
                this.page_size = page_size;
            }

            public int getIs_end() {
                return is_end;
            }

            public void setIs_end(int is_end) {
                this.is_end = is_end;
            }

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public static class ListBean implements Serializable{
                /**
                 * id : 40
                 * from_id : 101
                 * to_id : 102
                 * balance : 9.80
                 * type : 1
                 * created_at : 1507627791
                 * from : {"user_id":101,"nickname":"Harris","cover":"http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}
                 */

                private int id;
                private int from_id;
                private int to_id;
                private String balance;
                private int type;
                private String created_at;
                private FromBean from;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getFrom_id() {
                    return from_id;
                }

                public void setFrom_id(int from_id) {
                    this.from_id = from_id;
                }

                public int getTo_id() {
                    return to_id;
                }

                public void setTo_id(int to_id) {
                    this.to_id = to_id;
                }

                public String getBalance() {
                    return balance;
                }

                public void setBalance(String balance) {
                    this.balance = balance;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getCreated_at() {
                    return created_at;
                }

                public void setCreated_at(String created_at) {
                    this.created_at = created_at;
                }

                public FromBean getFrom() {
                    return from;
                }

                public void setFrom(FromBean from) {
                    this.from = from;
                }

                public static class FromBean implements Serializable{
                    /**
                     * user_id : 101
                     * nickname : Harris
                     * cover : http://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg
                     */

                    private int user_id;
                    private String nickname;
                    private String cover;

                    public int getUser_id() {
                        return user_id;
                    }

                    public void setUser_id(int user_id) {
                        this.user_id = user_id;
                    }

                    public String getNickname() {
                        return nickname;
                    }

                    public void setNickname(String nickname) {
                        this.nickname = nickname;
                    }

                    public String getCover() {
                        return cover;
                    }

                    public void setCover(String cover) {
                        this.cover = cover;
                    }
                }
            }
        }
    }
}
